package cn.exercises.oop06;

public class Dog extends Animal{
    //,看家lookHome方法
    public void lookHome(){
        System.out.println("狗会看家");
    }

    @Override
    public void eat(String something) {
        System.out.println("颜色为"+getColor()+"色的"+getAge()+"岁的狗，在吃"+something);
    }
}
